package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.LoginDto;
import com.zzyl.dto.UserDto;
import com.zzyl.vo.UserVo;

public interface UserService {
    PageResponse page(UserDto userDto, Integer pageNum, Integer pageSize);

    void addUser(UserDto userDto) throws CloneNotSupportedException;

    void update(UserDto userDto) throws CloneNotSupportedException;

    void updateStatus(Long id, String status);

    UserVo getByName(String name);

    void delete(Long id);

    void resetPassword(Long id);

    UserVo login(LoginDto loginDto);
}
